﻿<?xml version="1.0" encoding="utf-8"?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title><?php echo $this->title;?></title>

    <link rel="stylesheet" type="text/css" href="/ecrm/script/ext/resources/css/ext-all.css" />
    <!-- GC -->
 	<!-- LIBS -->
 	<script type="text/javascript" src="/ecrm/script/ext/adapter/ext/ext-base.js"></script>
 	<!-- ENDLIBS -->

    <script type="text/javascript" src="/ecrm/script/ext/ext-all-debug.js"></script>
    
    <script type="text/javascript" src="/ecrm/script/eCRM.js"></script>
    <script type="text/javascript" src="/ecrm/script/common.datasource.js"></script>
    <script type="text/javascript" src="/ecrm/script/common.datatemplate.js"></script>
    <script type="text/javascript" src="/ecrm/script/common.guifactory.js"></script>
    <!-- app specific lib-->
    
</head>
<body scroll="no">
Hello world
</body>
<script language="javascript">
    Ext.onReady(function(){
        var invPanel = new eCRM.common.guifactory.DSGridPanel({
            autoHeight:true,
            autoWidth:true,
            mode:'update',
            dataset:eCRM.dataCenter.dt_set.inventory.createDataSet({
                url:'/eCRM/storage/listinventoryjson',
                addupdateUrl:'/eCRM/storage/addupdateinventory'
                })
        });
        invPanel.render(document.body);
    });

        
</script>
</html>
